/*
** init_args_nowidth.c for dayday in /home/dd/projs/dayday/srcs/client/common
** 
** Made by dd
** Login   <alletr_p@epitech.net>
** 
** Started on  Tue Jul 21 21:50:10 2009 dd
** Last update Wed Jul 22 12:50:23 2009 dd
*/

#include <assert.h>

#include "client.h"

int	init_args_nowidth(t_all *all)
{
  assert(all);
  all->game.screen.width = DEFAULT_WIDTH;
  if (cprint(COLOR_RED, "%s, use default : %d", 
	     STRERR_ARGS_NOWIDTH, 
	     all->game.screen.width) == FAILURE)
    return (FAILURE);
  return (SUCCESS);
}
